package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.CrawlSiteFeatureDoc;
import org.jeecg.modules.system.entity.SysIndexTask;

/**
 * @Author wt
 * @Date: 2024/10/11 11:25
 * @Description:
 */
public interface ISIndexTaskService extends IService<SysIndexTask> {


    Page<SysIndexTask> pageisIndexTask(Page<SysIndexTask> page, SysIndexTask indexTask);

    /**
     * 根据id查询
     *
     * @return 结果
     */
    public SysIndexTask selectSysIndexTaskId(Long id);


    /**
     * 新增
     *
     * @return 结果
     */
    public int insertIndexTask(SysIndexTask indexTask);

    public boolean editSysIndexTask(SysIndexTask indexTask);

    /**
     * 删除
     * @param id
     * @return
     */
    public int deleteWebsite(Long id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public int deleteBatchWebsite(Long[] ids);

}
